#29 new
Arthur Klepchukov

generator fails without lib/

Reported by Arthur Klepchukov | December 27th, 2008 @ 09:28 PM

When I generate a new app via "rails my_app", lib/ isn't created by default. However, this silently fails when running:

$ ./script/generate authenticated user sessions


create lib/authenticated_system.rb No such file or directory - <PATH_TO_RAILS_ROOT>/lib/authenticated_system.rb

I think simply creating lib/ if it doesn't already exist would be the best fix. Otherwise, the generator should roll back and clean up after itself.

Comments and changes to this ticket

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

Restful Authentication Generator

This widely-used plugin provides a foundation for securely managing user
* Login / logout
* Secure password handling
* Account activation by validating email
* Account approval / disabling by admin
* Rudimentary hooks for authorization and access control.